package com.atguigu.gulimall.ware.service;

import com.atguigu.gulimall.ware.vo.FareVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.ware.entity.WareInfoEntity;

import java.util.Map;

/**
 * 仓库信息
 *
 * @author fangdada
 * @email 1819675707@qq.com
 * @date 2021-05-01 11:08:19
 */
public interface WareInfoService extends IService<WareInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * @Author FangDaDa
     * @Description 根据收货地址计算运费
     * @Date 22:11 2021/9/1
     * @Param [addrId]
     * @return com.atguigu.gulimall.ware.vo.FareVo
     **/
    FareVo getFare(Long addrId);
}

